Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class > WriteTransformMarker Method : WriteTransformMarker(Int32,Byte[],Int32,Int32) Method |
public void WriteTransformMarker( int id, byte[] data, int dataOffset, int dataLength )
'Declaration
Public Overloads Sub WriteTransformMarker( _ ByVal id As Integer, _ ByVal data() As Byte, _ ByVal dataOffset As Integer, _ ByVal dataLength As Integer _ )
'Usage
Dim instance As RasterCodecs Dim id As Integer Dim data() As Byte Dim dataOffset As Integer Dim dataLength As Integer instance.WriteTransformMarker(id, data, dataOffset, dataLength)
public void WriteTransformMarker( int id, byte[] data, int dataOffset, int dataLength )
public void writeTransformMarker(int id, byte data[], int dataOffset, int dataLength)
function Leadtools.Codecs.RasterCodecs.WriteTransformMarker(Int32,Byte[],Int32,Int32)( id , data , dataOffset , dataLength )
public: void WriteTransformMarker( int id, array<byte>^ data, int dataOffset, int dataLength )
You should use this method to write a certain marker data into the file.
This method can be called only from within the CodecsTransformMarkerCallback passed to the Transform method.
The transform mechanism is as follows:
Note: You can also use WriteTransformMarker to insert your own markers. The marker will be inserted before the current marker. You can call WriteTransformMarker as many times as you wish. Every call to WriteTransformMarker will insert a new marker.
Warning: Incorrect handling of the markers will generate corrupt files! Since some markers contain important information about the image (image width, height, compression method, colorspace, etc), you should use caution when working with markers.